package com.kashow.bean.question;

import java.util.List;

/**
 * Created by yybs on 16/12/27.
 */

public class QuestionResult {

    /**
     * questions : {"result":[{"_id":1,"user":{"_id":5,"__v":0,"balance":0,"createdAt":"2016-12-27T08:16:32.122Z","isSub":true,"isTeacher":true,"level":1,"nickname":"李文跃","relation":3,"score":0,"sex":0,"phone":"15822774691","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","wxUserInfo":{"openid":"oYinvs8fuzlFw-lQUaoUQdJdE0so","nickname":"李文跃","sex":1,"language":"zh_CN","city":"Hangzhou","province":"Zhejiang","country":"China","headimgurl":"http://wx.qlogo.cn/mmopen/ajNVdqHZLLCERgmTtkWEbY4Ol1mG46MJTQuVeUN2mCTXnV1CRmjU32ZGFpP8aicrSPh5j7tUmI01frFficha4FjA/0","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","updatedAt":"2016-12-27T08:16:20.000Z","tagid_list":[]},"authInfo":{"intro":"","realName":"李文跃","cardNumber":"371522199008071234","cardPic1":"e_NUyLdkartvCAXwVzVg7fVRodhKGOXCXYEsMYtC1Opo4SAtSdbvQQaOw_XXmW5P","cardPic2":"hXO9UE9NKZApMv8qoRdpyI4ANzZzdQt_vEgs9-ngorBu0zMzpqqOeL2jOQIaOTCE","status":1,"updatedAt":"2016-12-27T08:22:01.842Z","createdAt":"2016-12-27T08:22:01.842Z"}},"live":7,"content":"测试","order":1,"teacher":5,"createdAt":"2016-12-28 14:38:13","weight":0,"id":"1"},{"_id":2,"user":{"_id":5,"__v":0,"balance":0,"createdAt":"2016-12-27T08:16:32.122Z","isSub":true,"isTeacher":true,"level":1,"nickname":"李文跃","relation":3,"score":0,"sex":0,"phone":"15822774691","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","wxUserInfo":{"openid":"oYinvs8fuzlFw-lQUaoUQdJdE0so","nickname":"李文跃","sex":1,"language":"zh_CN","city":"Hangzhou","province":"Zhejiang","country":"China","headimgurl":"http://wx.qlogo.cn/mmopen/ajNVdqHZLLCERgmTtkWEbY4Ol1mG46MJTQuVeUN2mCTXnV1CRmjU32ZGFpP8aicrSPh5j7tUmI01frFficha4FjA/0","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","updatedAt":"2016-12-27T08:16:20.000Z","tagid_list":[]},"authInfo":{"intro":"","realName":"李文跃","cardNumber":"371522199008071234","cardPic1":"e_NUyLdkartvCAXwVzVg7fVRodhKGOXCXYEsMYtC1Opo4SAtSdbvQQaOw_XXmW5P","cardPic2":"hXO9UE9NKZApMv8qoRdpyI4ANzZzdQt_vEgs9-ngorBu0zMzpqqOeL2jOQIaOTCE","status":1,"updatedAt":"2016-12-27T08:22:01.842Z","createdAt":"2016-12-27T08:22:01.842Z"}},"live":7,"content":"测试","order":2,"teacher":5,"createdAt":"2016-12-28 17:39:26","weight":0,"id":"2"},{"_id":3,"user":{"_id":5,"__v":0,"balance":0,"createdAt":"2016-12-27T08:16:32.122Z","isSub":true,"isTeacher":true,"level":1,"nickname":"李文跃","relation":3,"score":0,"sex":0,"phone":"15822774691","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","wxUserInfo":{"openid":"oYinvs8fuzlFw-lQUaoUQdJdE0so","nickname":"李文跃","sex":1,"language":"zh_CN","city":"Hangzhou","province":"Zhejiang","country":"China","headimgurl":"http://wx.qlogo.cn/mmopen/ajNVdqHZLLCERgmTtkWEbY4Ol1mG46MJTQuVeUN2mCTXnV1CRmjU32ZGFpP8aicrSPh5j7tUmI01frFficha4FjA/0","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","updatedAt":"2016-12-27T08:16:20.000Z","tagid_list":[]},"authInfo":{"intro":"","realName":"李文跃","cardNumber":"371522199008071234","cardPic1":"e_NUyLdkartvCAXwVzVg7fVRodhKGOXCXYEsMYtC1Opo4SAtSdbvQQaOw_XXmW5P","cardPic2":"hXO9UE9NKZApMv8qoRdpyI4ANzZzdQt_vEgs9-ngorBu0zMzpqqOeL2jOQIaOTCE","status":1,"updatedAt":"2016-12-27T08:22:01.842Z","createdAt":"2016-12-27T08:22:01.842Z"}},"live":7,"content":"测试","order":3,"teacher":5,"createdAt":"2016-12-28 17:47:47","weight":0,"id":"3"}],"total":3,"limit":2147483647,"page":1,"pages":1}
     * questionCount : 3
     */

    private QuestionsBean questions;
    private int questionCount;

    public QuestionsBean getQuestions() {
        return questions;
    }

    public void setQuestions(QuestionsBean questions) {
        this.questions = questions;
    }

    public int getQuestionCount() {
        return questionCount;
    }

    public void setQuestionCount(int questionCount) {
        this.questionCount = questionCount;
    }

    public static class QuestionsBean {
        /**
         * result : [{"_id":1,"user":{"_id":5,"__v":0,"balance":0,"createdAt":"2016-12-27T08:16:32.122Z","isSub":true,"isTeacher":true,"level":1,"nickname":"李文跃","relation":3,"score":0,"sex":0,"phone":"15822774691","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","wxUserInfo":{"openid":"oYinvs8fuzlFw-lQUaoUQdJdE0so","nickname":"李文跃","sex":1,"language":"zh_CN","city":"Hangzhou","province":"Zhejiang","country":"China","headimgurl":"http://wx.qlogo.cn/mmopen/ajNVdqHZLLCERgmTtkWEbY4Ol1mG46MJTQuVeUN2mCTXnV1CRmjU32ZGFpP8aicrSPh5j7tUmI01frFficha4FjA/0","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","updatedAt":"2016-12-27T08:16:20.000Z","tagid_list":[]},"authInfo":{"intro":"","realName":"李文跃","cardNumber":"371522199008071234","cardPic1":"e_NUyLdkartvCAXwVzVg7fVRodhKGOXCXYEsMYtC1Opo4SAtSdbvQQaOw_XXmW5P","cardPic2":"hXO9UE9NKZApMv8qoRdpyI4ANzZzdQt_vEgs9-ngorBu0zMzpqqOeL2jOQIaOTCE","status":1,"updatedAt":"2016-12-27T08:22:01.842Z","createdAt":"2016-12-27T08:22:01.842Z"}},"live":7,"content":"测试","order":1,"teacher":5,"createdAt":"2016-12-28 14:38:13","weight":0,"id":"1"},{"_id":2,"user":{"_id":5,"__v":0,"balance":0,"createdAt":"2016-12-27T08:16:32.122Z","isSub":true,"isTeacher":true,"level":1,"nickname":"李文跃","relation":3,"score":0,"sex":0,"phone":"15822774691","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","wxUserInfo":{"openid":"oYinvs8fuzlFw-lQUaoUQdJdE0so","nickname":"李文跃","sex":1,"language":"zh_CN","city":"Hangzhou","province":"Zhejiang","country":"China","headimgurl":"http://wx.qlogo.cn/mmopen/ajNVdqHZLLCERgmTtkWEbY4Ol1mG46MJTQuVeUN2mCTXnV1CRmjU32ZGFpP8aicrSPh5j7tUmI01frFficha4FjA/0","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","updatedAt":"2016-12-27T08:16:20.000Z","tagid_list":[]},"authInfo":{"intro":"","realName":"李文跃","cardNumber":"371522199008071234","cardPic1":"e_NUyLdkartvCAXwVzVg7fVRodhKGOXCXYEsMYtC1Opo4SAtSdbvQQaOw_XXmW5P","cardPic2":"hXO9UE9NKZApMv8qoRdpyI4ANzZzdQt_vEgs9-ngorBu0zMzpqqOeL2jOQIaOTCE","status":1,"updatedAt":"2016-12-27T08:22:01.842Z","createdAt":"2016-12-27T08:22:01.842Z"}},"live":7,"content":"测试","order":2,"teacher":5,"createdAt":"2016-12-28 17:39:26","weight":0,"id":"2"},{"_id":3,"user":{"_id":5,"__v":0,"balance":0,"createdAt":"2016-12-27T08:16:32.122Z","isSub":true,"isTeacher":true,"level":1,"nickname":"李文跃","relation":3,"score":0,"sex":0,"phone":"15822774691","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","wxUserInfo":{"openid":"oYinvs8fuzlFw-lQUaoUQdJdE0so","nickname":"李文跃","sex":1,"language":"zh_CN","city":"Hangzhou","province":"Zhejiang","country":"China","headimgurl":"http://wx.qlogo.cn/mmopen/ajNVdqHZLLCERgmTtkWEbY4Ol1mG46MJTQuVeUN2mCTXnV1CRmjU32ZGFpP8aicrSPh5j7tUmI01frFficha4FjA/0","unionid":"ojmTMwFUyD5xpIMUgJE9ZyXRIr8A","updatedAt":"2016-12-27T08:16:20.000Z","tagid_list":[]},"authInfo":{"intro":"","realName":"李文跃","cardNumber":"371522199008071234","cardPic1":"e_NUyLdkartvCAXwVzVg7fVRodhKGOXCXYEsMYtC1Opo4SAtSdbvQQaOw_XXmW5P","cardPic2":"hXO9UE9NKZApMv8qoRdpyI4ANzZzdQt_vEgs9-ngorBu0zMzpqqOeL2jOQIaOTCE","status":1,"updatedAt":"2016-12-27T08:22:01.842Z","createdAt":"2016-12-27T08:22:01.842Z"}},"live":7,"content":"测试","order":3,"teacher":5,"createdAt":"2016-12-28 17:47:47","weight":0,"id":"3"}]
         * total : 3
         * limit : 2147483647
         * page : 1
         * pages : 1
         */

        private int total;
        private int limit;
        private int page;
        private int pages;
        private List<Question> result;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getLimit() {
            return limit;
        }

        public void setLimit(int limit) {
            this.limit = limit;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<Question> getResult() {
            return result;
        }

        public void setResult(List<Question> result) {
            this.result = result;
        }
    }
}
